from django.conf.urls import patterns, include, url
from FS_Training import views

# Uncomment the next two lines
# to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # 项目urls映射:
    url(r'^$', views.index, name='index'),

    # 加载其他模块urls映射文件
    url(r'^training/', include('training.urls')),
    #url(r'^cms/', include('cms.urls')),
    #url(r'^config/', include('config.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)
